package com.github.niefy.modules.wxma.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@ApiModel("微信小程序注册对象")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class WxMaCheckBo {


        @ApiModelProperty(value = "应用ID", required = true)
        private String appid;


        @ApiModelProperty(value = "sessionKey",required = true)
        private String sessionKey;

        @ApiModelProperty(value = "用户信息签名,调用用户信息的时候必填")
        private String signature;

        @ApiModelProperty(value = "用户信息原始数据字符串,调用用户信息的时候必填")
        private String rawData;

        @ApiModelProperty(value = "加密数据", required = true)
        private  String encryptedData;

        @ApiModelProperty(value = "偏移量", required = true)
        private String iv;

        @ApiModelProperty(value = "事件类型（user:用户信息/phone:手机号）", required = true)
        private String type;

}
